Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc improvements to blog posts & events #101

Merged
merged 4 commits into from
Feb 21, 2025
Merged

Conversation

dvidsilva
Copy link
Contributor

@dvidsilva dvidsilva commented Feb 21, 2025

This pull request includes several changes to improve the handling of page content and metadata across various components and pages. The most important changes include the addition of dynamic content rendering, updates to page metadata, and enhancements to external link handling.

Dynamic Content Rendering:

  • src/layouts/Posts.astro: Added conditional rendering for blog page content, displaying "Articles by our contributors" if no content is available.
  • src/pages/stores/index.astro: Integrated BlocksRenderer to dynamically render store page content and updated the title and description based on the StorePage data.
  • src/pages/tags/index.astro: Added dynamic rendering for tags page content and updated the title and description based on the TagsPage data.

Page Metadata Updates:

External Link Handling:

  • src/layouts/PostDetails.astro: Added a script to set rel="noopener noreferrer" and target="_blank" attributes on external links to improve security.

Minor Adjustments:

  • src/components/Footer.astro: Made minor adjustments to the footer layout and removed the "Stores" link. [1] [2]
  • src/pages/stores/index.astro and src/pages/tags/index.astro: Added imports for BlocksRenderer and updated import paths for type definitions. [1] [2] [3]

@dvidsilva dvidsilva merged commit 7673627 into main Feb 21, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant